<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>qredisclient: RedisClient::Connection Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">qredisclient
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>RedisClient</b></li><li class="navelem"><a class="el" href="class_redis_client_1_1_connection.html">Connection</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-slots">Protected Slots</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_redis_client_1_1_connection-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">RedisClient::Connection Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_redis_client_1_1_connection.html" title="The Connection class Main client class. ">Connection</a> class Main client class.  
 <a href="class_redis_client_1_1_connection.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="connection_8h_source.html">connection.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection_1_1_invalid_mode_exception.html">InvalidModeException</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a1ee7a905d45fb5e40ef2cee77a69ac74"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ee7a905d45fb5e40ef2cee77a69ac74"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Mode</b> { <b>Normal</b>, 
<b>PubSub</b>, 
<b>Cluster</b>, 
<b>Sentinel</b>
 }</td></tr>
<tr class="separator:a1ee7a905d45fb5e40ef2cee77a69ac74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57774e9e46824a93ae053f6a52508e35"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57774e9e46824a93ae053f6a52508e35"></a>
typedef QList&lt; QByteArray &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a57774e9e46824a93ae053f6a52508e35">RawKeysList</a></td></tr>
<tr class="memdesc:a57774e9e46824a93ae053f6a52508e35"><td class="mdescLeft">&#160;</td><td class="mdescRight">RawKeysList. <br /></td></tr>
<tr class="separator:a57774e9e46824a93ae053f6a52508e35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ff11c8d6ed231c3e19474001592ecbc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ff11c8d6ed231c3e19474001592ecbc"></a>
typedef std::function&lt; void(const <a class="el" href="class_redis_client_1_1_connection.html#a57774e9e46824a93ae053f6a52508e35">RawKeysList</a> &amp;, const QString &amp;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>RawKeysListCallback</b></td></tr>
<tr class="separator:a4ff11c8d6ed231c3e19474001592ecbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad708ec76589e6549de4e703a7edbe418"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad708ec76589e6549de4e703a7edbe418"></a>
typedef QPair&lt; QString, int &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Host</b></td></tr>
<tr class="separator:ad708ec76589e6549de4e703a7edbe418"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a403a67cd02bd3a1f26a82cfa303b6168"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a403a67cd02bd3a1f26a82cfa303b6168"></a>
typedef QList&lt; Host &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>HostList</b></td></tr>
<tr class="separator:a403a67cd02bd3a1f26a82cfa303b6168"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af05a9c8b8c32205e9948ee241f27cc22"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af05a9c8b8c32205e9948ee241f27cc22"></a>
typedef std::function&lt; void(QVariant, QString err)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#af05a9c8b8c32205e9948ee241f27cc22">CollectionCallback</a></td></tr>
<tr class="memdesc:af05a9c8b8c32205e9948ee241f27cc22"><td class="mdescLeft">&#160;</td><td class="mdescRight">CollectionCallback. <br /></td></tr>
<tr class="separator:af05a9c8b8c32205e9948ee241f27cc22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5501c5c8d3b4481a2e063ad4816284dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5501c5c8d3b4481a2e063ad4816284dc"></a>
typedef std::function&lt; void(QVariant, QString err, bool final)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a5501c5c8d3b4481a2e063ad4816284dc">IncrementalCollectionCallback</a></td></tr>
<tr class="memdesc:a5501c5c8d3b4481a2e063ad4816284dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">IncrementalCollectionCallback. <br /></td></tr>
<tr class="separator:a5501c5c8d3b4481a2e063ad4816284dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:aa03f783f6fcd06a4f61c61b59bf8dcbb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa03f783f6fcd06a4f61c61b59bf8dcbb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addCommandToWorker</b> (const <a class="el" href="class_redis_client_1_1_command.html">Command</a> &amp;)</td></tr>
<tr class="separator:aa03f783f6fcd06a4f61c61b59bf8dcbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85636285d92e45f7273395eea3afd1e2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85636285d92e45f7273395eea3afd1e2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>error</b> (const QString &amp;)</td></tr>
<tr class="separator:a85636285d92e45f7273395eea3afd1e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af37dc8780b23051837b2bcdab7262150"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af37dc8780b23051837b2bcdab7262150"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>log</b> (const QString &amp;)</td></tr>
<tr class="separator:af37dc8780b23051837b2bcdab7262150"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c23d4b68df59733d4bf4d81e00957ab"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c23d4b68df59733d4bf4d81e00957ab"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>connected</b> ()</td></tr>
<tr class="separator:a4c23d4b68df59733d4bf4d81e00957ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8f0921be3166694e6f38e7abafadc4a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8f0921be3166694e6f38e7abafadc4a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>disconnected</b> ()</td></tr>
<tr class="separator:ad8f0921be3166694e6f38e7abafadc4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a938e301c843bb73a9a2171751f17ca67"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a938e301c843bb73a9a2171751f17ca67"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>authOk</b> ()</td></tr>
<tr class="separator:a938e301c843bb73a9a2171751f17ca67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2d4eb071f01106bca89037b58eab6f1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2d4eb071f01106bca89037b58eab6f1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>authError</b> (const QString &amp;)</td></tr>
<tr class="separator:aa2d4eb071f01106bca89037b58eab6f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29868dec3a8a3617cc824e0e241f859f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a29868dec3a8a3617cc824e0e241f859f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>reconnectTo</b> (const QString &amp;host, int port)</td></tr>
<tr class="separator:a29868dec3a8a3617cc824e0e241f859f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1dafde96fc0832db579181af3c2926a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a1dafde96fc0832db579181af3c2926a8">Connection</a> (const <a class="el" href="class_redis_client_1_1_connection_config.html">ConnectionConfig</a> &amp;c, bool autoConnect=true)</td></tr>
<tr class="memdesc:a1dafde96fc0832db579181af3c2926a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs connection class.  <a href="#a1dafde96fc0832db579181af3c2926a8">More...</a><br /></td></tr>
<tr class="separator:a1dafde96fc0832db579181af3c2926a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1cd08ae23da00e45c170c405e99d6da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1cd08ae23da00e45c170c405e99d6da"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#ab1cd08ae23da00e45c170c405e99d6da">~Connection</a> ()</td></tr>
<tr class="memdesc:ab1cd08ae23da00e45c170c405e99d6da"><td class="mdescLeft">&#160;</td><td class="mdescRight">~Connection If connection established internally call <a class="el" href="class_redis_client_1_1_connection.html#a0e5865fe5260bb505507ebbcc42168b5" title="disconnect from redis-server ">disconnect()</a> <br /></td></tr>
<tr class="separator:ab1cd08ae23da00e45c170c405e99d6da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6e58cbcba70647240d23ad812aa8970"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#ac6e58cbcba70647240d23ad812aa8970">connect</a> (bool wait=true)</td></tr>
<tr class="memdesc:ac6e58cbcba70647240d23ad812aa8970"><td class="mdescLeft">&#160;</td><td class="mdescRight">connects to redis-server  <a href="#ac6e58cbcba70647240d23ad812aa8970">More...</a><br /></td></tr>
<tr class="separator:ac6e58cbcba70647240d23ad812aa8970"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49857f35819c11564b493d81aa0f499b"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a49857f35819c11564b493d81aa0f499b">isConnected</a> ()</td></tr>
<tr class="memdesc:a49857f35819c11564b493d81aa0f499b"><td class="mdescLeft">&#160;</td><td class="mdescRight">isConnected  <a href="#a49857f35819c11564b493d81aa0f499b">More...</a><br /></td></tr>
<tr class="separator:a49857f35819c11564b493d81aa0f499b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e5865fe5260bb505507ebbcc42168b5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e5865fe5260bb505507ebbcc42168b5"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a0e5865fe5260bb505507ebbcc42168b5">disconnect</a> ()</td></tr>
<tr class="memdesc:a0e5865fe5260bb505507ebbcc42168b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">disconnect from redis-server <br /></td></tr>
<tr class="separator:a0e5865fe5260bb505507ebbcc42168b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac12a4ab0b304355f46fe90457b4f0b7e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_redis_client_1_1_connection_config.html">ConnectionConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#ac12a4ab0b304355f46fe90457b4f0b7e">getConfig</a> () const </td></tr>
<tr class="memdesc:ac12a4ab0b304355f46fe90457b4f0b7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">getConfig  <a href="#ac12a4ab0b304355f46fe90457b4f0b7e">More...</a><br /></td></tr>
<tr class="separator:ac12a4ab0b304355f46fe90457b4f0b7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9ba5872a491c17e07723bafbea9c22a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae9ba5872a491c17e07723bafbea9c22a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#ae9ba5872a491c17e07723bafbea9c22a">setConnectionConfig</a> (const <a class="el" href="class_redis_client_1_1_connection_config.html">ConnectionConfig</a> &amp;)</td></tr>
<tr class="memdesc:ae9ba5872a491c17e07723bafbea9c22a"><td class="mdescLeft">&#160;</td><td class="mdescRight">setConnectionConfig <br /></td></tr>
<tr class="separator:ae9ba5872a491c17e07723bafbea9c22a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb4539fbdb77aeb455db2cfa9db05b5f"><td class="memItemLeft" align="right" valign="top">Mode&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#afb4539fbdb77aeb455db2cfa9db05b5f">mode</a> () const </td></tr>
<tr class="memdesc:afb4539fbdb77aeb455db2cfa9db05b5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get current mode.  <a href="#afb4539fbdb77aeb455db2cfa9db05b5f">More...</a><br /></td></tr>
<tr class="separator:afb4539fbdb77aeb455db2cfa9db05b5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21f4ba898480341acde93d586902f5a"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#ac21f4ba898480341acde93d586902f5a">getServerVersion</a> ()</td></tr>
<tr class="memdesc:ac21f4ba898480341acde93d586902f5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get redis-server version.  <a href="#ac21f4ba898480341acde93d586902f5a">More...</a><br /></td></tr>
<tr class="separator:ac21f4ba898480341acde93d586902f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f1e43b8e72e3922cfa304a82614e537"><td class="memItemLeft" align="right" valign="top">virtual DatabaseList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a9f1e43b8e72e3922cfa304a82614e537">getKeyspaceInfo</a> ()</td></tr>
<tr class="memdesc:a9f1e43b8e72e3922cfa304a82614e537"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get keyspace info parsed from INFO command.  <a href="#a9f1e43b8e72e3922cfa304a82614e537">More...</a><br /></td></tr>
<tr class="separator:a9f1e43b8e72e3922cfa304a82614e537"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a129bc06eace6712822380bbec7a7b3e0"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a129bc06eace6712822380bbec7a7b3e0">getDatabaseKeys</a> (RawKeysListCallback callback, const QString &amp;pattern=QString(&quot;*&quot;), uint dbIndex=0)</td></tr>
<tr class="memdesc:a129bc06eace6712822380bbec7a7b3e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">getDatabaseKeys - async keys loading  <a href="#a129bc06eace6712822380bbec7a7b3e0">More...</a><br /></td></tr>
<tr class="separator:a129bc06eace6712822380bbec7a7b3e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b083f5adee9404581c88a63523807d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#aa6b083f5adee9404581c88a63523807d">getClusterKeys</a> (RawKeysListCallback callback, const QString &amp;pattern)</td></tr>
<tr class="memdesc:aa6b083f5adee9404581c88a63523807d"><td class="mdescLeft">&#160;</td><td class="mdescRight">getClusterKeys - async keys loading from all cluster nodes  <a href="#aa6b083f5adee9404581c88a63523807d">More...</a><br /></td></tr>
<tr class="separator:aa6b083f5adee9404581c88a63523807d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af207f7b26ab0e4a4ea10f002c9853d23"><td class="memItemLeft" align="right" valign="top">HostList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#af207f7b26ab0e4a4ea10f002c9853d23">getMasterNodes</a> ()</td></tr>
<tr class="memdesc:af207f7b26ab0e4a4ea10f002c9853d23"><td class="mdescLeft">&#160;</td><td class="mdescRight">getMasterNodes - Get master nodes of cluster  <a href="#af207f7b26ab0e4a4ea10f002c9853d23">More...</a><br /></td></tr>
<tr class="separator:af207f7b26ab0e4a4ea10f002c9853d23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a740a0eba2a460fca549c404dda12b281"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a740a0eba2a460fca549c404dda12b281">command</a> (const <a class="el" href="class_redis_client_1_1_command.html">Command</a> &amp;cmd)</td></tr>
<tr class="memdesc:a740a0eba2a460fca549c404dda12b281"><td class="mdescLeft">&#160;</td><td class="mdescRight">command  <a href="#a740a0eba2a460fca549c404dda12b281">More...</a><br /></td></tr>
<tr class="separator:a740a0eba2a460fca549c404dda12b281"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72f8ec8f734e987d7ab286c2f2c04a3f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a72f8ec8f734e987d7ab286c2f2c04a3f">command</a> (QList&lt; QByteArray &gt; rawCmd, int db=-1)</td></tr>
<tr class="memdesc:a72f8ec8f734e987d7ab286c2f2c04a3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute command without callback in async mode.  <a href="#a72f8ec8f734e987d7ab286c2f2c04a3f">More...</a><br /></td></tr>
<tr class="separator:a72f8ec8f734e987d7ab286c2f2c04a3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ccf73c5944abfd5e65b8d5ba9978ae1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a1ccf73c5944abfd5e65b8d5ba9978ae1">command</a> (QList&lt; QByteArray &gt; rawCmd, QObject *owner, RedisClient::Command::Callback callback, int db=-1)</td></tr>
<tr class="memdesc:a1ccf73c5944abfd5e65b8d5ba9978ae1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute command with callback in async mode.  <a href="#a1ccf73c5944abfd5e65b8d5ba9978ae1">More...</a><br /></td></tr>
<tr class="separator:a1ccf73c5944abfd5e65b8d5ba9978ae1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61cd531643d7d74f4f074faefcfdd719"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_redis_client_1_1_response.html">Response</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a61cd531643d7d74f4f074faefcfdd719">commandSync</a> (const <a class="el" href="class_redis_client_1_1_command.html">Command</a> &amp;cmd)</td></tr>
<tr class="memdesc:a61cd531643d7d74f4f074faefcfdd719"><td class="mdescLeft">&#160;</td><td class="mdescRight">commandSync  <a href="#a61cd531643d7d74f4f074faefcfdd719">More...</a><br /></td></tr>
<tr class="separator:a61cd531643d7d74f4f074faefcfdd719"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ab17cccac4d13eddef30cf13d0dc914"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_redis_client_1_1_response.html">Response</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a0ab17cccac4d13eddef30cf13d0dc914">commandSync</a> (QList&lt; QByteArray &gt; rawCmd, int db=-1)</td></tr>
<tr class="memdesc:a0ab17cccac4d13eddef30cf13d0dc914"><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute command without callback and wait for response.  <a href="#a0ab17cccac4d13eddef30cf13d0dc914">More...</a><br /></td></tr>
<tr class="separator:a0ab17cccac4d13eddef30cf13d0dc914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25cff19c01aad46f8f1223c5cf240470"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a25cff19c01aad46f8f1223c5cf240470"></a>
<a class="el" href="class_redis_client_1_1_response.html">Response</a>&#160;</td><td class="memItemRight" valign="bottom"><b>commandSync</b> (QString cmd, int db=-1)</td></tr>
<tr class="separator:a25cff19c01aad46f8f1223c5cf240470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f86441f1c10b6e6a41c69cdd00792dd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f86441f1c10b6e6a41c69cdd00792dd"></a>
<a class="el" href="class_redis_client_1_1_response.html">Response</a>&#160;</td><td class="memItemRight" valign="bottom"><b>commandSync</b> (QString cmd, QString arg1, int db=-1)</td></tr>
<tr class="separator:a1f86441f1c10b6e6a41c69cdd00792dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68811208bd082e952edbda8a544af131"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a68811208bd082e952edbda8a544af131"></a>
<a class="el" href="class_redis_client_1_1_response.html">Response</a>&#160;</td><td class="memItemRight" valign="bottom"><b>commandSync</b> (QString cmd, QString arg1, QString arg2, int db=-1)</td></tr>
<tr class="separator:a68811208bd082e952edbda8a544af131"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ad444a0432c1a146c32a6b642d90c4d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ad444a0432c1a146c32a6b642d90c4d"></a>
<a class="el" href="class_redis_client_1_1_response.html">Response</a>&#160;</td><td class="memItemRight" valign="bottom"><b>commandSync</b> (QString cmd, QString arg1, QString arg2, QString arg3, int db=-1)</td></tr>
<tr class="separator:a4ad444a0432c1a146c32a6b642d90c4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2550aeed0ade12cbddb58e823edfb5ac"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a2550aeed0ade12cbddb58e823edfb5ac">retrieveCollection</a> (QSharedPointer&lt; <a class="el" href="class_redis_client_1_1_scan_command.html">ScanCommand</a> &gt; cmd, <a class="el" href="class_redis_client_1_1_connection.html#af05a9c8b8c32205e9948ee241f27cc22">CollectionCallback</a> callback)</td></tr>
<tr class="memdesc:a2550aeed0ade12cbddb58e823edfb5ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">retrieveCollection  <a href="#a2550aeed0ade12cbddb58e823edfb5ac">More...</a><br /></td></tr>
<tr class="separator:a2550aeed0ade12cbddb58e823edfb5ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c0b47e82b62e1fd0c4aa0243b5c3a44"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a8c0b47e82b62e1fd0c4aa0243b5c3a44">retrieveCollectionIncrementally</a> (QSharedPointer&lt; <a class="el" href="class_redis_client_1_1_scan_command.html">ScanCommand</a> &gt; cmd, <a class="el" href="class_redis_client_1_1_connection.html#a5501c5c8d3b4481a2e063ad4816284dc">IncrementalCollectionCallback</a> callback)</td></tr>
<tr class="memdesc:a8c0b47e82b62e1fd0c4aa0243b5c3a44"><td class="mdescLeft">&#160;</td><td class="mdescRight">retrieveCollection  <a href="#a8c0b47e82b62e1fd0c4aa0243b5c3a44">More...</a><br /></td></tr>
<tr class="separator:a8c0b47e82b62e1fd0c4aa0243b5c3a44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf90ab5cf78e2f9c2a3eef62cd70977f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#acf90ab5cf78e2f9c2a3eef62cd70977f">runCommand</a> (const <a class="el" href="class_redis_client_1_1_command.html">Command</a> &amp;cmd)</td></tr>
<tr class="memdesc:acf90ab5cf78e2f9c2a3eef62cd70977f"><td class="mdescLeft">&#160;</td><td class="mdescRight">runCommand - Low level commands execution API  <a href="#acf90ab5cf78e2f9c2a3eef62cd70977f">More...</a><br /></td></tr>
<tr class="separator:acf90ab5cf78e2f9c2a3eef62cd70977f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dccf29e2c697fd5137173372a6b482a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_redis_client_1_1_connection.html#a3dccf29e2c697fd5137173372a6b482a">waitForIdle</a> (uint timeout)</td></tr>
<tr class="memdesc:a3dccf29e2c697fd5137173372a6b482a"><td class="mdescLeft">&#160;</td><td class="mdescRight">waitForIdle - Wait until all commands in queue will be processed  <a href="#a3dccf29e2c697fd5137173372a6b482a">More...</a><br /></td></tr>
<tr class="separator:a3dccf29e2c697fd5137173372a6b482a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3783d1fa8c94b6245c141067f7b0a0a2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3783d1fa8c94b6245c141067f7b0a0a2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTransporter</b> (QSharedPointer&lt; AbstractTransporter &gt;)</td></tr>
<tr class="separator:a3783d1fa8c94b6245c141067f7b0a0a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabdc674b46a0f268e3203761eac79094"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aabdc674b46a0f268e3203761eac79094"></a>
QSharedPointer&lt; AbstractTransporter &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getTransporter</b> () const </td></tr>
<tr class="separator:aabdc674b46a0f268e3203761eac79094"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-slots"></a>
Protected Slots</h2></td></tr>
<tr class="memitem:aa37b6c633164a7aa30b359924a5394f7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa37b6c633164a7aa30b359924a5394f7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>auth</b> ()</td></tr>
<tr class="separator:aa37b6c633164a7aa30b359924a5394f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aa49addd0dbf071d0d5e645dff8041421"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa49addd0dbf071d0d5e645dff8041421"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>createTransporter</b> ()</td></tr>
<tr class="separator:aa49addd0dbf071d0d5e645dff8041421"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21fe31c5a93da5d3ececb148dc529f24"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21fe31c5a93da5d3ececb148dc529f24"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isTransporterRunning</b> ()</td></tr>
<tr class="separator:a21fe31c5a93da5d3ececb148dc529f24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7375c6adc1043c3530bab8fbc0a810c5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7375c6adc1043c3530bab8fbc0a810c5"></a>
<a class="el" href="class_redis_client_1_1_response.html">Response</a>&#160;</td><td class="memItemRight" valign="bottom"><b>internalCommandSync</b> (QList&lt; QByteArray &gt; rawCmd)</td></tr>
<tr class="separator:a7375c6adc1043c3530bab8fbc0a810c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ad75e4c62169fa39e88d359f6907644"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2ad75e4c62169fa39e88d359f6907644"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>processScanCommand</b> (QSharedPointer&lt; <a class="el" href="class_redis_client_1_1_scan_command.html">ScanCommand</a> &gt; cmd, <a class="el" href="class_redis_client_1_1_connection.html#af05a9c8b8c32205e9948ee241f27cc22">CollectionCallback</a> callback, QSharedPointer&lt; QVariantList &gt; result=QSharedPointer&lt; QVariantList &gt;(), bool incrementalProcessing=false)</td></tr>
<tr class="separator:a2ad75e4c62169fa39e88d359f6907644"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80d91638cfcd5c2996fdb53720406c25"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80d91638cfcd5c2996fdb53720406c25"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>changeCurrentDbNumber</b> (int db)</td></tr>
<tr class="separator:a80d91638cfcd5c2996fdb53720406c25"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a48c8d1f9c8f5cb150d5a759d0435f80f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a48c8d1f9c8f5cb150d5a759d0435f80f"></a>
<a class="el" href="class_redis_client_1_1_connection_config.html">ConnectionConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_config</b></td></tr>
<tr class="separator:a48c8d1f9c8f5cb150d5a759d0435f80f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4caf3aebd22a82fdb69608c48170df6a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4caf3aebd22a82fdb69608c48170df6a"></a>
QSharedPointer&lt; QThread &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_transporterThread</b></td></tr>
<tr class="separator:a4caf3aebd22a82fdb69608c48170df6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a201673e358b1ac79b408190dd3e33d56"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a201673e358b1ac79b408190dd3e33d56"></a>
QSharedPointer&lt; AbstractTransporter &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_transporter</b></td></tr>
<tr class="separator:a201673e358b1ac79b408190dd3e33d56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6f9678c4edd3db3d0356c7bab04677f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6f9678c4edd3db3d0356c7bab04677f"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>m_dbNumber</b></td></tr>
<tr class="separator:ae6f9678c4edd3db3d0356c7bab04677f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16a6846d81607069b0c708e0238c3b9c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16a6846d81607069b0c708e0238c3b9c"></a>
<a class="el" href="struct_redis_client_1_1_server_info.html">ServerInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_serverInfo</b></td></tr>
<tr class="separator:a16a6846d81607069b0c708e0238c3b9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4986a606adf8b80c451b4ab42c14312e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4986a606adf8b80c451b4ab42c14312e"></a>
Mode&#160;</td><td class="memItemRight" valign="bottom"><b>m_currentMode</b></td></tr>
<tr class="separator:a4986a606adf8b80c451b4ab42c14312e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b8087345748c69c932b1b852842e7c5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b8087345748c69c932b1b852842e7c5"></a>
QMutex&#160;</td><td class="memItemRight" valign="bottom"><b>m_dbNumberMutex</b></td></tr>
<tr class="separator:a4b8087345748c69c932b1b852842e7c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6488853786f280aeaf59ee004b8b7263"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6488853786f280aeaf59ee004b8b7263"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_autoConnect</b></td></tr>
<tr class="separator:a6488853786f280aeaf59ee004b8b7263"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3d8748eaaf82c44dd189e63a737780a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3d8748eaaf82c44dd189e63a737780a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_stoppingTransporter</b></td></tr>
<tr class="separator:aa3d8748eaaf82c44dd189e63a737780a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab88c52993cd4edf822baebb4068f7bf6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab88c52993cd4edf822baebb4068f7bf6"></a>
RawKeysListCallback&#160;</td><td class="memItemRight" valign="bottom"><b>m_wrapper</b></td></tr>
<tr class="separator:ab88c52993cd4edf822baebb4068f7bf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a77924d8b6684bb6aa1ee795c5c4b9da2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77924d8b6684bb6aa1ee795c5c4b9da2"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>AbstractTransporter</b></td></tr>
<tr class="separator:a77924d8b6684bb6aa1ee795c5c4b9da2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_redis_client_1_1_connection.html" title="The Connection class Main client class. ">Connection</a> class Main client class. </p>
</div><div class="dynheader">
Inheritance diagram for RedisClient::Connection:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_redis_client_1_1_connection.png" usemap="#RedisClient::Connection_map" alt=""/>
  <map id="RedisClient::Connection_map" name="RedisClient::Connection_map">
</map>
 </div></div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1dafde96fc0832db579181af3c2926a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RedisClient::Connection::Connection </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_redis_client_1_1_connection_config.html">ConnectionConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>autoConnect</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs connection class. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>- connection config NOTE: different config options are required for different transporters. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a740a0eba2a460fca549c404dda12b281"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RedisClient::Connection::command </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_redis_client_1_1_command.html">Command</a> &amp;&#160;</td>
          <td class="paramname"><em>cmd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>command </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cmd</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a72f8ec8f734e987d7ab286c2f2c04a3f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RedisClient::Connection::command </td>
          <td>(</td>
          <td class="paramtype">QList&lt; QByteArray &gt;&#160;</td>
          <td class="paramname"><em>rawCmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>db</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Execute command without callback in async mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rawCmd</td><td></td></tr>
    <tr><td class="paramname">db</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1ccf73c5944abfd5e65b8d5ba9978ae1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RedisClient::Connection::command </td>
          <td>(</td>
          <td class="paramtype">QList&lt; QByteArray &gt;&#160;</td>
          <td class="paramname"><em>rawCmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>owner</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">RedisClient::Command::Callback&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>db</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Execute command with callback in async mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rawCmd</td><td></td></tr>
    <tr><td class="paramname">owner</td><td></td></tr>
    <tr><td class="paramname">callback</td><td></td></tr>
    <tr><td class="paramname">db</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a61cd531643d7d74f4f074faefcfdd719"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_redis_client_1_1_response.html">RedisClient::Response</a> RedisClient::Connection::commandSync </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_redis_client_1_1_command.html">Command</a> &amp;&#160;</td>
          <td class="paramname"><em>cmd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>commandSync </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cmd</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a0ab17cccac4d13eddef30cf13d0dc914"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_redis_client_1_1_response.html">RedisClient::Response</a> RedisClient::Connection::commandSync </td>
          <td>(</td>
          <td class="paramtype">QList&lt; QByteArray &gt;&#160;</td>
          <td class="paramname"><em>rawCmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>db</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Execute command without callback and wait for response. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rawCmd</td><td></td></tr>
    <tr><td class="paramname">db</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="ac6e58cbcba70647240d23ad812aa8970"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool RedisClient::Connection::connect </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>wait</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>connects to redis-server </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">wait</td><td>- true = sync mode, false = async mode </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true - on success </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Connection::Exception</td><td>if config is invalid or something went wrong. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa6b083f5adee9404581c88a63523807d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void RedisClient::Connection::getClusterKeys </td>
          <td>(</td>
          <td class="paramtype">RawKeysListCallback&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>pattern</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>getClusterKeys - async keys loading from all cluster nodes </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td></td></tr>
    <tr><td class="paramname">pattern</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac12a4ab0b304355f46fe90457b4f0b7e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_redis_client_1_1_connection_config.html">RedisClient::ConnectionConfig</a> RedisClient::Connection::getConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>getConfig </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a129bc06eace6712822380bbec7a7b3e0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void RedisClient::Connection::getDatabaseKeys </td>
          <td>(</td>
          <td class="paramtype">RawKeysListCallback&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>pattern</em> = <code>QString(&quot;*&quot;)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>dbIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>getDatabaseKeys - async keys loading </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td></td></tr>
    <tr><td class="paramname">pattern</td><td></td></tr>
    <tr><td class="paramname">dbIndex</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9f1e43b8e72e3922cfa304a82614e537"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">RedisClient::DatabaseList RedisClient::Connection::getKeyspaceInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get keyspace info parsed from INFO command. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="af207f7b26ab0e4a4ea10f002c9853d23"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RedisClient::Connection::HostList RedisClient::Connection::getMasterNodes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>getMasterNodes - Get master nodes of cluster </p>
<dl class="section return"><dt>Returns</dt><dd>HostList </dd></dl>

</div>
</div>
<a class="anchor" id="ac21f4ba898480341acde93d586902f5a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double RedisClient::Connection::getServerVersion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get redis-server version. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a49857f35819c11564b493d81aa0f499b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool RedisClient::Connection::isConnected </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>isConnected </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="afb4539fbdb77aeb455db2cfa9db05b5f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RedisClient::Connection::Mode RedisClient::Connection::mode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get current mode. </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a2550aeed0ade12cbddb58e823edfb5ac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void RedisClient::Connection::retrieveCollection </td>
          <td>(</td>
          <td class="paramtype">QSharedPointer&lt; <a class="el" href="class_redis_client_1_1_scan_command.html">ScanCommand</a> &gt;&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_redis_client_1_1_connection.html#af05a9c8b8c32205e9948ee241f27cc22">CollectionCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>retrieveCollection </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cmd</td><td></td></tr>
    <tr><td class="paramname">callback</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8c0b47e82b62e1fd0c4aa0243b5c3a44"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void RedisClient::Connection::retrieveCollectionIncrementally </td>
          <td>(</td>
          <td class="paramtype">QSharedPointer&lt; <a class="el" href="class_redis_client_1_1_scan_command.html">ScanCommand</a> &gt;&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_redis_client_1_1_connection.html#a5501c5c8d3b4481a2e063ad4816284dc">IncrementalCollectionCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>retrieveCollection </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cmd</td><td></td></tr>
    <tr><td class="paramname">callback</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acf90ab5cf78e2f9c2a3eef62cd70977f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void RedisClient::Connection::runCommand </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_redis_client_1_1_command.html">Command</a> &amp;&#160;</td>
          <td class="paramname"><em>cmd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>runCommand - Low level commands execution API </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cmd</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3dccf29e2c697fd5137173372a6b482a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool RedisClient::Connection::waitForIdle </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>timeout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>waitForIdle - Wait until all commands in queue will be processed </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">timeout</td><td>- in milliseconds </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/maker/projects/rdm/3rdparty/qredisclient/src/qredisclient/<a class="el" href="connection_8h_source.html">connection.h</a></li>
<li>/home/maker/projects/rdm/3rdparty/qredisclient/src/qredisclient/connection.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
